<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

//后台用户角色表 mais
class Role extends Model
{
    protected $table = 'roles';

    public function permissions()
    {
        return $this->belongsToMany('App\Model\Permission');    
    }

    public function adminusers()
    {
        return $this->belongsToMany('App\Model\AdminUsers');    
    }
}
